package com.cloud.school.app.service;

import com.cloud.school.app.model.LikeModel;

import java.util.List;

/**
 * @ClassName Like
 * @Description TODO
 * @Author 36297
 * @Date 2018/12/14 0:48
 * @Version 1.0
 */
public interface LikeService {
    /**
     * @Title: save
     * @Description: 保存赞
     * @param likeModel
     * @return: boolean
     */
    boolean save(LikeModel likeModel);
    /**
     * @Title: selectByShowId
     * @Description: 查询赞，包括赞发布人
     * @param showId
     * @return: boolean
     */
    List<LikeModel> selectByShowId(Long showId);
    /**
     * @Title: selectByShowIds
     * @Description: 查询赞，包括赞发布人
     * @param showIds
     * @return: boolean
     */
    List<LikeModel> selectByShowIds(List<Long> showIds);
    /**
     * @Title: deleteByShowId
     * @Description: 删除赞
     * @param showId
     * @return: boolean
     */
    boolean deleteByShowId(Long showId);
}
